package com.dji.sample.component.livestream.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@ConfigurationProperties(prefix = "live-stream")
@Component
public class LiveStreamProperties {
    private String rtmpUrl;

    private Integer webrtcPort;

    private Integer flvPort;

    public String getRtmpUrl() {
        return rtmpUrl;
    }

    public void setRtmpUrl(String rtmpUrl) {
        this.rtmpUrl = rtmpUrl;
    }

    public Integer getWebrtcPort() {
        return webrtcPort;
    }

    public void setWebrtcPort(Integer webrtcPort) {
        this.webrtcPort = webrtcPort;
    }

    public Integer getFlvPort() {
        return flvPort;
    }

    public void setFlvPort(Integer flvPort) {
        this.flvPort = flvPort;
    }
}
